luci-theme-bootstrap: global darkmode graphs
authorMarko Mäkelä <[email protected]>
Sun, 29 Jun 2025 19:55:41 +0000 (22:55 +0300)
committerPaul Donald <[email protected]>
Mon, 30 Jun 2025 00:20:02 +0000 (02:20 +0200)
commit75a612ae635bcc848f3f0183db543a94a851a2a3
tree93bf1cbd6b611af133d72303c62fbb3d7088f568
parentb7ebe96541715ae364fd2a7228b75bf73b097aa5
luci-theme-bootstrap: global darkmode graphs

Instead of enumerating each SVG graph that the dark mode is applicable to,
apply --background-color-high to each SVG element that is a child of
<div style="…"> and --text-color-highest to each LINE inside such SVG.

This allows dark mode to work in all SVG widgets by default, in any
current or future LuCI component.

Signed-off-by: Marko Mäkelä <[email protected]>
themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css